<table cellpadding="0" cellspacing="1" width="100%" id="tblsort">
  <tr class="headtb" nodrop="true" nodrag="true">
	<td width="120">Group Name</td>
	<td width="120" align="center"><?php echo _ACTIONS?></td>
	<td width="400" align="center"><?php echo _DESCRIPTION?></td>
  </tr>
    <?php
    foreach($permissions as $i => $permission)
    {
    ?>
      <tr>
    	<td style="padding-left:5" nowrap="nowrap">
    		<?php echo linkAction('edit',$permission['cGroupName'],'id='.$permission["iId"])?>
    	</td>
    	<td align="center">
            <?php echo linkAction('edit',_EDIT,'id='.$permission["iId"])?>
             -
    		<?php echo linkAction('delete',_DELETE,'id='.$permission["iId"])?>
    	</td>
    	<td><?php echo $permission['cDescription']?>&nbsp;</td>
        </tr>
     <?php
     }
     ?>
</table>
<script>
(new TableDnD).buildrows("tblsort");
</script>